CommonsBooking\Service\BookingRuleApplied A

Total Complexity 56
Dependencies 6
Dependents 3
Total lines 327
Lines of code 212
Logical lines of code 103
Comment lines 81
Methods 10
Properties 5

Methods 10

Method Rating Maintainability Complexity Lines of code
init()
B
37 21 75
setAppliedParams()
A
55 8 20
bookingConformsToRules()
A
48 7 35
checkBookingCompliance()
S
56 7 20
validateRules()
S
62 3 13
getArgs()
S
62 3 12
setAppliesToWhat()
S
67 3 7
getRulesJSON()
S
60 2 15
__construct()
S
63 1 12
setExcludedRoles()
S
81 1 3